<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="module[@action = 'dt_list']">
		<div>
			<xsl:text>Module = </xsl:text>
			<xsl:value-of select="@name"/>
		</div>
		<table class="universal_table" cellspacing="0">
			<tr>
				<xsl:for-each select="document[1]/field">
					<th>
						<xsl:value-of select="@title"/>
					</th>
				</xsl:for-each>
			</tr>
			<xsl:for-each select="document">
				<tr>
					<xsl:for-each select="field">
						<td>
							<xsl:value-of select="."/>
						</td>
					</xsl:for-each>
				</tr>
			</xsl:for-each>
		</table>
		<div class="paging">
			<xsl:apply-templates select="pages/page"/>
		</div>
	</xsl:template>
</xsl:stylesheet>
